import request from '@/utils/request'

// 查询表单内容列表
export function listFormbody(query) {
  return request({
    url: '/modularbusiness/formbody/list',
    method: 'get',
    params: query
  })
}

// 查询表单内容详细
export function getFormbody(fbid) {
  return request({
    url: '/modularbusiness/formbody/' + fbid,
    method: 'get'
  })
}

// 新增表单内容
export function addFormbody(data) {
  return request({
    url: '/modularbusiness/formbody',
    method: 'post',
    data: data
  })
}

// 修改表单内容
export function updateFormbody(data) {
  return request({
    url: '/modularbusiness/formbody',
    method: 'put',
    data: data
  })
}

// 删除表单内容
export function delFormbody(fbid) {
  return request({
    url: '/modularbusiness/formbody/' + fbid,
    method: 'delete'
  })
}
